package com.example.blog.modules.system.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class SysConfigDTO {
    private Long id;
    
    @NotBlank(message = "配置键不能为空")
    private String configKey;
    
    @NotBlank(message = "配置值不能为空")
    private String configValue;
    
    @NotBlank(message = "配置名称不能为空")
    private String configName;
    
    private String remark;
    
    @NotNull(message = "排序不能为空")
    private Integer sort = 0;
    
    private Boolean isSystem;
    
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 